<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>usb: XUsb Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">usb
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">XUsb Struct Reference<div class="ingroups"><a class="el" href="group__usb__v5__0.html">Usb_v5_0</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a82aaf4839aaa1cc58a1dde0e2dd7c2b4"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb.html#a82aaf4839aaa1cc58a1dde0e2dd7c2b4">USBAddress</a></td></tr>
<tr class="separator:a82aaf4839aaa1cc58a1dde0e2dd7c2b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3ca87faf1aa1caaa6fa6e6f7c3e9267"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_usb___device_config.html">XUsb_DeviceConfig</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb.html#ab3ca87faf1aa1caaa6fa6e6f7c3e9267">DeviceConfig</a></td></tr>
<tr class="separator:ab3ca87faf1aa1caaa6fa6e6f7c3e9267"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The user is required to allocate a variable of this type for every USB device in the system. A pointer to a variable of this type is then passed to the driver API functions. </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="ac9eb29e8f2372f88e570357da004e189"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_usb___config.html">XUsb_Config</a> XUsb::Config</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configuration structure. </p>

<p>Referenced by <a class="el" href="group__usb__v5__0.html#ga05f262f5c35f642fefc16b7912086265">XUsb_CfgInitialize()</a>, <a class="el" href="group__usb__v5__0.html#ga1702a7ff1e0627217bdf4d4429a76f1c">XUsb_DmaReset()</a>, <a class="el" href="group__usb__v5__0.html#gafef9f47c6f77fa2a6a59cde1e2db21b9">XUsb_DmaTransfer()</a>, <a class="el" href="group__usb__v5__0.html#ga265f540fba1a12b0e310052d4cfa5a2d">XUsb_EpConfigure()</a>, <a class="el" href="group__usb__v5__0.html#ga143b99da38f8de7e4d0f5cee108fc797">XUsb_EpDataRecv()</a>, <a class="el" href="group__usb__v5__0.html#gabf09f948bc604c279cb0a12bba14057b">XUsb_EpDataSend()</a>, <a class="el" href="group__usb__v5__0.html#ga82e240bb1af0cc302cd2c8b7363161d8">XUsb_EpDisable()</a>, <a class="el" href="group__usb__v5__0.html#gadc3661c9581f9dea4b01873cbaff31a8">XUsb_EpEnable()</a>, <a class="el" href="group__usb__v5__0.html#ga8af69babadc9c361e05afca4e350b918">XUsb_EpIsoTransferConfigure()</a>, <a class="el" href="group__usb__v5__0.html#gab38009aad2e0011e0bd392f064edeec7">XUsb_EpStall()</a>, <a class="el" href="group__usb__v5__0.html#ga30a3f5338e5938d9efc1e843c38e9d78">XUsb_EpUnstall()</a>, <a class="el" href="group__usb__v5__0.html#ga2bfe41baf4bcdaae0da439ec758de24e">XUsb_GetFrameNum()</a>, <a class="el" href="group__usb__v5__0.html#ga6a9e88138c012fcfa32717eeaab1e5b1">XUsb_IntrDisable()</a>, <a class="el" href="group__usb__v5__0.html#gafcd3e91e72783087a0c6902724b8087f">XUsb_IntrEnable()</a>, <a class="el" href="group__usb__v5__0.html#gacc119aa9f628ab0cc3fac2f63073e386">XUsb_IntrHandler()</a>, <a class="el" href="group__usb__v5__0.html#gaf1806727cc17345c2b9a900804e3b322">XUsb_ReadErrorCounters()</a>, <a class="el" href="group__usb__v5__0.html#gaa2f7958d25023d2ed18cfaabfb2baa0f">XUsb_SetDeviceAddress()</a>, <a class="el" href="group__usb__v5__0.html#ga4d5a367719f199ad49b9020f0fdd22ab">XUsb_SetTestMode()</a>, <a class="el" href="group__usb__v5__0.html#ga59efbc6f5496ad21e48659c5a7090425">XUsb_SieReset()</a>, <a class="el" href="group__usb__v5__0.html#ga4708ca8b9ca477b58d7da7db3f1be308">XUsb_Start()</a>, <a class="el" href="group__usb__v5__0.html#ga53f7e5c356dbe880560a6eb5942a74d6">XUsb_Stop()</a>, <a class="el" href="group__usb__v5__0.html#ga9d1522d41344290899ebbf1a40824697">XUsb_UlpiPhyReadRegister()</a>, and <a class="el" href="group__usb__v5__0.html#ga5464e6b0871344e088f252872554b7bb">XUsb_UlpiPhyWriteRegister()</a>.</p>

</div>
</div>
<a class="anchor" id="ab3ca87faf1aa1caaa6fa6e6f7c3e9267"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_usb___device_config.html">XUsb_DeviceConfig</a> XUsb::DeviceConfig</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The following structure holds the configuration for the controller. </p>
<p>They are initialized using the <a class="el" href="group__usb__v5__0.html#ga9c50c0ee6d36d4b87a40018c2ad0fd25" title="This function initializes USB End points. ">XUsb_ConfigureDevice()</a> function call. </p>

<p>Referenced by <a class="el" href="group__usb__v5__0.html#ga05f262f5c35f642fefc16b7912086265">XUsb_CfgInitialize()</a>, <a class="el" href="group__usb__v5__0.html#ga9c50c0ee6d36d4b87a40018c2ad0fd25">XUsb_ConfigureDevice()</a>, <a class="el" href="group__usb__v5__0.html#ga143b99da38f8de7e4d0f5cee108fc797">XUsb_EpDataRecv()</a>, <a class="el" href="group__usb__v5__0.html#gabf09f948bc604c279cb0a12bba14057b">XUsb_EpDataSend()</a>, <a class="el" href="group__usb__v5__0.html#gae7fef0669e6d6094cc2af067195cc04d">XUsb_EpSetHandler()</a>, and <a class="el" href="group__usb__v5__0.html#gacc119aa9f628ab0cc3fac2f63073e386">XUsb_IntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="a69fc81451351e4418bfe14f9fae4fb40"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XUsb::EndPointOffset[<a class="el" href="group__usb__v5__0.html#gac10c01aa71b29e898218eb4ffb61bea5">XUSB_MAX_ENDPOINTS</a>]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>End point Offsets. </p>

<p>Referenced by <a class="el" href="group__usb__v5__0.html#ga05f262f5c35f642fefc16b7912086265">XUsb_CfgInitialize()</a>, <a class="el" href="group__usb__v5__0.html#ga265f540fba1a12b0e310052d4cfa5a2d">XUsb_EpConfigure()</a>, <a class="el" href="group__usb__v5__0.html#gabf09f948bc604c279cb0a12bba14057b">XUsb_EpDataSend()</a>, <a class="el" href="group__usb__v5__0.html#ga82e240bb1af0cc302cd2c8b7363161d8">XUsb_EpDisable()</a>, <a class="el" href="group__usb__v5__0.html#gadc3661c9581f9dea4b01873cbaff31a8">XUsb_EpEnable()</a>, <a class="el" href="group__usb__v5__0.html#ga8af69babadc9c361e05afca4e350b918">XUsb_EpIsoTransferConfigure()</a>, <a class="el" href="group__usb__v5__0.html#gab38009aad2e0011e0bd392f064edeec7">XUsb_EpStall()</a>, and <a class="el" href="group__usb__v5__0.html#ga30a3f5338e5938d9efc1e843c38e9d78">XUsb_EpUnstall()</a>.</p>

</div>
</div>
<a class="anchor" id="ac90559e35c0a6d0f0d77843801455f54"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__usb__v5__0.html#ga64403da3a365ae35df1c860942c17358">XUsb_IntrHandlerFunc</a> XUsb::HandlerFunc</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Callbacks and callback references. </p>

<p>Referenced by <a class="el" href="group__usb__v5__0.html#ga05f262f5c35f642fefc16b7912086265">XUsb_CfgInitialize()</a>, <a class="el" href="group__usb__v5__0.html#gacc119aa9f628ab0cc3fac2f63073e386">XUsb_IntrHandler()</a>, and <a class="el" href="group__usb__v5__0.html#gada7caf770f82936ab7493b67d143b9a9">XUsb_IntrSetHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="a260e5c141d966b04f28b67c1c9bb6d07"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XUsb::IsReady</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Device is initialized and ready. </p>

<p>Referenced by <a class="el" href="group__usb__v5__0.html#ga05f262f5c35f642fefc16b7912086265">XUsb_CfgInitialize()</a>, <a class="el" href="group__usb__v5__0.html#ga6fbf5a1ddbca576e8c1e7d235da878ab">XUsb_DmaIntrSetHandler()</a>, <a class="el" href="group__usb__v5__0.html#ga143b99da38f8de7e4d0f5cee108fc797">XUsb_EpDataRecv()</a>, <a class="el" href="group__usb__v5__0.html#gabf09f948bc604c279cb0a12bba14057b">XUsb_EpDataSend()</a>, <a class="el" href="group__usb__v5__0.html#ga82e240bb1af0cc302cd2c8b7363161d8">XUsb_EpDisable()</a>, <a class="el" href="group__usb__v5__0.html#gadc3661c9581f9dea4b01873cbaff31a8">XUsb_EpEnable()</a>, <a class="el" href="group__usb__v5__0.html#ga8af69babadc9c361e05afca4e350b918">XUsb_EpIsoTransferConfigure()</a>, <a class="el" href="group__usb__v5__0.html#gab38009aad2e0011e0bd392f064edeec7">XUsb_EpStall()</a>, <a class="el" href="group__usb__v5__0.html#ga30a3f5338e5938d9efc1e843c38e9d78">XUsb_EpUnstall()</a>, <a class="el" href="group__usb__v5__0.html#gaa2a8bba76c93470302e179d7c4d864ac">XUsb_ErrIntrSetHandler()</a>, <a class="el" href="group__usb__v5__0.html#ga2bfe41baf4bcdaae0da439ec758de24e">XUsb_GetFrameNum()</a>, <a class="el" href="group__usb__v5__0.html#ga6a9e88138c012fcfa32717eeaab1e5b1">XUsb_IntrDisable()</a>, <a class="el" href="group__usb__v5__0.html#gafcd3e91e72783087a0c6902724b8087f">XUsb_IntrEnable()</a>, <a class="el" href="group__usb__v5__0.html#gada7caf770f82936ab7493b67d143b9a9">XUsb_IntrSetHandler()</a>, <a class="el" href="group__usb__v5__0.html#gaa2f7958d25023d2ed18cfaabfb2baa0f">XUsb_SetDeviceAddress()</a>, <a class="el" href="group__usb__v5__0.html#ga4d5a367719f199ad49b9020f0fdd22ab">XUsb_SetTestMode()</a>, <a class="el" href="group__usb__v5__0.html#ga4708ca8b9ca477b58d7da7db3f1be308">XUsb_Start()</a>, <a class="el" href="group__usb__v5__0.html#ga53f7e5c356dbe880560a6eb5942a74d6">XUsb_Stop()</a>, and <a class="el" href="group__usb__v5__0.html#ga0573097a6ec999bac0f865dc18113df3">XUsb_UlpiIntrSetHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="a82aaf4839aaa1cc58a1dde0e2dd7c2b4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XUsb::USBAddress</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The USB address of the device. </p>

</div>
</div>
</div><!-- contents -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
